﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace FoodModel
{
    /// <summary>
    /// 餐厅服务表
    /// </summary>
    [Table("RestaurantModel")]
    public class RestaurantModel
    {
        /// <summary>
        /// 餐厅服务表ID
        /// </summary>
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int RestaurantId { get; set; }
        /// <summary>
        /// 餐厅服务下拉框名称
        /// </summary>
        [SugarColumn(IsPrimaryKey =false)]
        public string? DownName { get; set; }
    }
}
